package com.rabbiter.market.service.goods_management.goods;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rabbiter.market.domain.goods.goods_info.GoodsImage;

import java.util.List;

public interface IGoodsImageService extends IService<GoodsImage> {

    /**
     * 批量插入图片
     * @param imageList
     */
    void insertBatch(List<GoodsImage> imageList);

    List<GoodsImage> selectList(Long id);

    /**
     * 批量删除图片
     * @param ids
     */
    void deleteByGoodsIds(List<Long> ids);
}
